import request from "@/utils/request.js";
const userMerchant = {
	// 获取可用商家列表
	getMerchantList: (data) => request.post("/api/user/merchantList", data),
	// 获取可用商家详情
	getMerchantDetail: (data) => request.post("/api/user/merchantEdit", data),
	// 获取商家商品列表
	merchantGoodsList: (data) => request.post("/api/user/merchantGoodsList", data),
	// 获取商家课程列表
	merchantCourseList: (data) => request.post("/api/user/merchantCourseList", data),
	// 获取优惠券列表
	getCouponList: (data) => request.post("/api/user/couponList", data),
	// 获取优惠券详情
	getCouponDetail: (data) => request.post("/api/user/couponEdit", data),
	// 购买优惠券
	couponPay: (data) => request.post("/api/user/couponPay", data),
}
export default userMerchant;